{foreach from=$checkPaymentErrors key=error item=value}
	{if $error == 'NOT_OWNER'}
		<p class="error">[[You're not the owner of this payment]]</p>
	{elseif $error == 'NOT_LOGGED_IN'}
		<p class="error">[[Please log in to place a listing. If you do not have an account, please]] <a href="{$GLOBALS.site_url}">[[Register]]</a></p>
		<br/><br/>
		{module name="users" function="login"}
	{elseif $error == 'WRONG_INVOICE_PARAMETERS'}
		<p class="error">[[Invoice contains wrong parameters. Check all items listed in it.]]</p>
	{/if}
{foreachelse}
	<br />
	[[Dear customer!]]<br /><br />
	{capture assign = "product_info_price"}{tr type="float"}{$invoice_info.total}{/tr}{/capture}
	{assign var="currency_sign" value=$GLOBALS.settings.transaction_currency}
	[[Please make a payment in the amount of $currency_sign $product_info_price for product(s)]]:
	<br />
	<p>
	{foreach name="product_names_loop" item="productName" from=$productsNames}
		<strong>[[{$productName|translate_composite_payment_name}]]</strong>{if !$smarty.foreach.product_names_loop.last}, {/if}
	{/foreach}
	</p>


	{foreach from=$gateways item=gateway}
		<form action="{$gateway.url}" method="post" name=''>
			{$gateway.hidden_fields}
			{capture name="trGatewayCaption"}[[{$gateway.caption}]]{/capture}
			<br/><input style='display:none;' type='submit' value="{$smarty.capture.trGatewayCaption|escape:'html'}" class="paymentButton" />
			
			<input type='image' name='submit' value="{$smarty.capture.trGatewayCaption|escape:'html'}" src='{$GLOBALS.site_url}/templates/ProgressiveView/main/images/x-click-but6.gif' />
		</form>
	{/foreach}(You can also use credit card by PayPal)
{/foreach}
